User RegistrationΒΆ
For a new user entry, just run the user_registration.py file. The password of the user will be encrypted and saved in the dopq database along with other information provided. Define your db path before running the script.
def check_user_info(self):
username = self.username_field.text()
re_pass = self.retype_pass_field.text()
email = self.email_field.text()
# Load the Database from the address
db_location = "your_db_path/dopq_database.db" # If No DB exist, it will create one
db = pickledb.load(db_location, True)
Note
pickleDB is used for building the database and python hashlib framework is used for encryption. Before running the script, please make sure that you have these libraries installed in your system.
The registration window looks like following:
Figure: DoPQ User Registration Interface